package com.itheima.service;

import com.itheima.pojo.Account;

import java.util.List;

public interface AccountService {
    public List<Account> findAll();

    public void insertAccount(Account account);

    public Account findById(int id);

    public void transfer(String fromName, String toName, double money);

    public void updateAccount(Account account);

    public void deleteAccount(int id);
}
